package com.my.chapter9;

public class practice3 {
    public static void main(String[] args) {
        P03A p = new P03A();
        p.print();
    }
}

abstract class P03{
    abstract void print();
    P03(){
        System.out.print("P03 ");
        print();
    }
}

class P03A extends P03{
    private int i = 6;
    @Override
    void print() {
        System.out.println("i = "+i);
    }
}
